Trees | Indices | Toggle frames |
---|
MouseCursor --+ | ImageMouseCursor
A user-defined mouse cursor created from an image.
Use this class to create your own mouse cursors and assign them to windows. There are no constraints on the image size or format.
__init__(self,
image,
hot_x=0,
hot_y=0)
Create a mouse cursor from an image.
|
|
draw(self,
x,
y)
Abstract render method.
|
drawable = True
|
Abstract render method.
The cursor should be drawn with the "hot" spot at the given coordinates. The projection is set to the pyglet default (i.e., orthographic in window-space), however no other aspects of the state can be assumed.
Trees | Indices | Toggle frames |
---|
Generated by Epydoc 3.0beta1 on Thu Dec 31 17:58:20 2009 | http://epydoc.sourceforge.net |